package com.glodon.paas.account.api.bean;

public class AccountConstant{
	public final static Integer ACCOUNT_NAME_BAD = -1;		//账号类型:错误的账号
	public final static Integer ACCOUNT_NAME_ID = 0;		//账号类型:用户ID
	public final static Integer ACCOUNT_NAME_NOMAL = 1;		//账号类型:普通用户名
	public final static Integer ACCOUNT_NAME_EMAIL = 2;		//账号类型:邮件地址
	public final static Integer ACCOUNT_NAME_MOBILE = 3;	//账号类型:手机号

	public static final Integer USER_STATUS_ACTIVE = 1;		//用户状态:激活	
	public static final Integer USER_STATUS_INACTIVE = 0;

	public static final Integer AUTHORIZATION_TYPE_SYS = -1;//权限类型：系统
	public static final Integer AUTHORIZATION_TYPE_PWD = 1;	//权限类型：密码
	
	public static final int AVATAR_TYPE_SOURCE = 0;		//上传的原始文件
	public static final int AVATAR_TYPE_TEMP = 1;		//上传的临时文件,用于预览，在用户确认保存时变成原始文件
	public static final int AVATAR_TYPE_SCOP = 2;		//裁剪好的头像
	
}
